<%@page import="com.license.servlets.UserServlet"%>
<%@include file="AdminBasePage.jsp"%> 
<f:view> 
	<html>
	<% 	UserServlet userServlet = new UserServlet();
	  	String psoValues = userServlet.getPSOExecutionTimes();
	  	String clonalValues = userServlet.getClonalExecutionTImes();%>
	<body onload="createDashboadChart(&quot;<%=psoValues%>&quot;,&quot;<%=clonalValues%>&quot;);">
	<div class="span9">
	<script type="text/javascript" src="../jquery.jqplot.min.js"></script>
	<link class="include" rel="stylesheet" type="text/css" href="../jquery.jqplot.min.css" />
		
	<h1 class="page-title">Dashboard</h1>

	<div class="row-fluid">
		<div class="block">
			<p class="block-heading" data-toggle="collapse"
				data-target="#chart-container">Performance Chart</p>
			<div id="chart-container" class="block-body collapse in">
				<div id="dashboardchart"></div>
			</div>
		</div>
	</div>
<!-- 	<script>
	
	</script> -->

	<div class="row-fluid">
		<div class="block span6">
			<div class="block-heading" data-toggle="collapse"
				data-target="#widget1container">Collapsible</div>
			<div id="widget1container" class="block-body collapse in">
				<h2>Using Procardio?</h2>
				<p>
					Procardio is a medical software developed to help people 
					to improve their life quality
				</p>
				<p> We use nature inspired meta-euristic algorithms to give to
					the user a 7 day's diet and recomand the necessary
					phisical activities in order to prevent CDV!!</p>
				<p>	The menus was checked using Jess rules-based engine.</p>
			</div>
		</div>
	</div>

</div>
</div>
<footer>
	<hr>
	<!-- Purchase a site license to remove this link from the footer: http://www.portnine.com/bootstrap-themes -->
	<p class="pull-right">
		Procadio <a href="#" target="_blank">best lifestile recomandation
			software</a>
	</p>
	<p>
		&copy; 2013 <a href="#">Cozac Adrian & Mesaros Ionut</a>
	</p>
</footer>
<!-- Le javascript
    ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
</body>
</html>
</f:view>